package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.ActModelBusinessEntity;

/**
 * 流程与业务关联Mapper接口
 *
 * @author cxl
 * @date 2024-05-29
 */
public interface ActModelBusinessMapper extends BaseMapper<ActModelBusinessEntity> {
    /**
     * 查询流程与业务关联
     *
     * @param id 流程与业务关联ID
     * @return 流程与业务关联
     */
    public ActModelBusinessEntity selectActModelBusinessEntityById(String id);

    /**
     * 查询流程与业务关联列表
     *
     * @param actModelBusinessEntity 流程与业务关联
     * @return 流程与业务关联集合
     */
    public List<ActModelBusinessEntity> selectActModelBusinessEntityList(ActModelBusinessEntity actModelBusinessEntity);

    /**
     * 新增流程与业务关联
     *
     * @param actModelBusinessEntity 流程与业务关联
     * @return 结果
     */
    public int insertActModelBusinessEntity(ActModelBusinessEntity actModelBusinessEntity);

    /**
     * 修改流程与业务关联
     *
     * @param actModelBusinessEntity 流程与业务关联
     * @return 结果
     */
    public int updateActModelBusinessEntity(ActModelBusinessEntity actModelBusinessEntity);

    /**
     * 删除流程与业务关联
     *
     * @param id 流程与业务关联ID
     * @return 结果
     */
    public int deleteActModelBusinessEntityById(String id);

    /**
     * 批量删除流程与业务关联
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteActModelBusinessEntityByIds(String[] ids);
}
